package com.macro.mall.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.dto.e.SysPictureEntDTO;
import com.macro.mall.model.BasicKeyImg;
import org.springframework.web.multipart.MultipartFile;

public interface SysPictureService {


    CommonResult list(SysPictureEntDTO sysPictureEntDTO);

    int modify(SysPictureEntDTO sysPictureEntDTO);


    /***
     * 新增 图片配置
     * @param img
     * @param file
     * @return
     */
    CommonResult edit(BasicKeyImg img, MultipartFile file);


    /***
     * 删除 图片配置
     * @param id
     * @return
     */
    CommonResult delete(Long id);


}
